package com.ruoyi.game.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 回合操作记录对象 game_round_action
 * 
 * @author ruoyi
 * @date 2025-04-18
 */
public class GameRoundAction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 回合ID */
    @Excel(name = "回合ID")
    private Long roundId;

    /** 玩家ID */
    @Excel(name = "玩家ID")
    private Long playerId;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String opType;

    /** 牌(JSON) */
    @Excel(name = "牌(JSON)")
    private String opCards;

    /** 是否自动/机器人 */
    @Excel(name = "是否自动/机器人")
    private Long isAuto;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRoundId(Long roundId) 
    {
        this.roundId = roundId;
    }

    public Long getRoundId() 
    {
        return roundId;
    }

    public void setPlayerId(Long playerId)
    {
        this.playerId = playerId;
    }

    public Long getPlayerId() 
    {
        return this.playerId;
    }

    public void setOpType(String opType) 
    {
        this.opType = opType;
    }

    public String getOpType() 
    {
        return opType;
    }

    public void setOpCards(String opCards) 
    {
        this.opCards = opCards;
    }

    public String getOpCards() 
    {
        return opCards;
    }

    public void setIsAuto(Long isAuto) 
    {
        this.isAuto = isAuto;
    }

    public Long getIsAuto() 
    {
        return isAuto;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roundId", getRoundId())
            .append("playerId", getPlayerId())
            .append("opType", getOpType())
            .append("opCards", getOpCards())
            .append("isAuto", getIsAuto())
            .append("createTime", getCreateTime())
            .toString();
    }
}
